package com.hl.payServer.model;

import com.hl.payServer.util.GenerateUUID;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 155****7909
 * @date 2021-05-03 22:16:27
 * @email 
 */
@Table(name = "PayProperty")
public class PayProperty extends BaseEntity {

    /**
     * id
     */
    @Id
    @Column(name = "id")
    @KeySql(genId = GenerateUUID.class)
    private String id;
    /**
     * 所属企业编码
     */
    @Column(name = "companyCode")
    private String companyCode;
    /**
     * 所属企业名称
     */
    @Column(name = "companyName")
    private String companyName;
    /**
     * 支付通道  1支付宝  2微信
     */
    @Column(name = "payChannle")
    private Integer payChannle;
    /**
     * 支付类型  base(基本支付 条码/扫码)    app(app支付)   mini(小程序支付)
     */
    @Column(name = "payType")
    private String payType;
    /**
     * 支付通道名称
     */
    @Column(name = "payName")
    private String payName;
    /**
     * 应用唯一标识
     */
    @Column(name = "appId")
    private String appId;
    /**
     * 微信的应用号
     */
    @Column(name = "mchId")
    private String mchId;
    /**
     * 私钥
     */
    @Column(name = "privateKey")
    private String privateKey;
    /**
     * 公钥
     */
    @Column(name = "publicKey")
    private String publicKey;
    /**
     *删除标记（0：正常；1：删除；）
     */
    @Column(name = "isDelete")
    protected Integer isDelete;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getPayChannle() {
        return payChannle;
    }

    public void setPayChannle(Integer payChannle) {
        this.payChannle = payChannle;
    }

    public String getPayName() {
        return payName;
    }

    public void setPayName(String payName) {
        this.payName = payName;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }
}